// Qt on Metro test application
// Copyright (c) Andrew Knight
// This software is licensed under the MIT: http://www.opensource.org/licenses/MIT
// This software uses Qt (http://qt.nokia.com)

#ifndef CANVASTEST_H
#define CANVASTEST_H

#include <QtGui/QLabel>
#include "../metro/metroapplication.h"

class CanvasTest : public QLabel
{
    Q_OBJECT
    MetroApplication* metroApp;
public:
    CanvasTest(MetroApplication* metroApp, QWidget *parent = 0);
    ~CanvasTest();

    void resizeEvent(QResizeEvent* event);
    bool event(QEvent *e);

public slots:
    void onRender();
};

#endif // CANVASTEST_H
